package com.ming.yygh.order.client;

import com.ming.yygh.common.result.Result;
import com.ming.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author Light
 * @date 2021/12/27 14:39
 */
@FeignClient(value = "service-order")
@Repository
public interface OrderFeignClient {

    @PostMapping("api/order/orderInfo/inner/getCountMap")
    Result<Map<String, Object>> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
